Connecting to a Data Source Using a Logon Dialog Box


Some ODBC applications display a Logon dialog box when you are connecting to a data source. In these cases, the data source name has already been specified.

In the Logon dialog box, perform the following steps:

  1. In the Network Library field, select the name of the network library. This specifies which network protocol to use. Valid values are Winsock and NamedPipes.
  2. In the Network Address field, type the network address, which depends on which network protocol is chosen under Network Library and on the Sybase server. If you have chosen Winsock, specify an IP address as follows: "<servername or IP address>, <port number>". For example, if your network supports named servers, you may specify an address such as "Sybaseserver, 5000". You may also specify the IP address directly such as "199.226.224.34, 5000".
  3. If you have chosen NamedPipes as the network protocol, you must specify the pipe address of the server. For example, "\\machine1\sybase\pipe\query".

  4. If required, type your case-sensitive login ID.
  5. If required, type your case-sensitive password for the system.
  6. Select the name from the Database drop-down list, which displays the names you specified in the ODBC Sybase Wire Protocol Driver Setup dialog box.
  7. Select the Use SSL check box to use a secure socket layer (SSL) connection. Then, complete the Trusted Roots File Name field by typing the location and name of the trusted roots file.
  8. Click OK to complete the logon and to update the values in the system information.